Checkbox Value Constants
CHANGED WITH THE APPEARANCE MANAGER
These constants specify the value of a standard checkbox control and are passed in thenewValue
parameter ofSetControlValue
and are returned byGetControlValue
.
enum { kControlCheckboxUncheckedValue = 0, kControlCheckboxCheckedValue = 1, kControlCheckboxMixedValue = 2 };Constant descriptions
kControlCheckboxUncheckedValue
- The checkbox is unchecked.
kControlCheckboxCheckedValue
- The checkbox is checked.
kControlCheckboxMixedValue
- Mixed value. Indicates that a setting is on for some elements in a selection and off for others. This state only applies to standard Appearance-compliant checkboxes.
WHEN THE APPEARANCE MANAGER IS NOT AVAILABLE
Pre-Appearance checkboxes do not support the mixed state value constantkControlCheckboxMixedValue
.